#ifndef UGAME_DEFAULT_EVENT_HANDLER
#define UGAME_DEFAULT_EVENT_HANDLER

#include "cocos2d.h"
#include "../notifier/UGEventHandler.h"

USING_NS_CC;

namespace ugame {
    class UGDefaultEventHandler : public UGEventHandler {
    public:
        UGDefaultEventHandler();
        virtual ~UGDefaultEventHandler();
        static UGDefaultEventHandler* create(int order, Ref* handlerObj, UGHandlerFunc handlerFunc);
        static UGDefaultEventHandler* createByEventId(int eventId, int order, Ref* handlerObj, UGHandlerFunc handlerFunc);
        static UGDefaultEventHandler* createByEventType(int eventType, int order, Ref* handlerObj, UGHandlerFunc handlerFunc);
    };
}

#endif
